<?php

namespace DebugComponent;

/**
 * Message interface
 */
interface IMessage {
    /**
     * String representation of message
     *
     * @return string
     */
    public function __toString();

    /**
     * Retrieve message type
     *
     * @return string
     */
    public function getType();
}